package com.xuecheng.teaching.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author itheima
 * @since 2022-08-13
 */
@Getter
@Setter
@TableName("comment_reply")
public class CommentReply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 评论记录ID comment的外键id
     */
    private Long commentId;

    /**
     * 是否禁止回复 1禁止 0允许 默认0
     */
    private Integer forbidReply;

    private String nickName;

    private Integer parentId;

    /**
     * 点赞数量

     */
    private Integer praiseNum;

    /**
     * 回复日期
     */
    private String replyDate;

    /**
     * 回复id
     */
    private Integer replyId;

    /**
     * 回复内容

     */
    private String replyText;

    /**
     * 用户id
     */
    private Long userId;


}
